home *** CD-ROM | disk | FTP | other *** search
- # Source Generated with Decompyle++
- # File: in.pyc (Python 2.4)
-
-
- try:
- import idlelib.PyShell as idlelib
- except ImportError:
-
- try:
- import PyShell
- except ImportError:
- raise
-
- import os
- idledir = os.path.dirname(os.path.abspath(PyShell.__file__))
- if idledir != os.getcwd():
- pypath = os.environ.get('PYTHONPATH', '')
- if pypath:
- os.environ['PYTHONPATH'] = pypath + ':' + idledir
- else:
- os.environ['PYTHONPATH'] = idledir
-
- PyShell.main()
-
- idlelib.PyShell.main()
-